#!/bin/bash
COMMAND="cat /root/toto.txt"

##################
#  Aile A
##################

SALLE=a10
for i in {1..28} 
do echo "$SALLE"p$i 
ssh "$SALLE"p$i $COMMAND
done

SALLE=a11
for i in {1..26} 
do echo "$SALLE"p$i 
ssh "$SALLE"p$i $COMMAND
done

SALLE=a12
for i in {1..26} 
do echo "$SALLE"p$i 
ssh "$SALLE"p$i $COMMAND
done

SALLE=a13
for i in {1..26} 
do echo "$SALLE"p$i 
ssh "$SALLE"p$i $COMMAND
done

SALLE=a14
for i in {1..26} 
do echo "$SALLE"p$i 
ssh "$SALLE"p$i $COMMAND
done

SALLE=a15
for i in {1..26} 
do echo "$SALLE"p$i
ssh "$SALLE"p$i $COMMAND
done

SALLE=a16
for i in {1..26} 
do echo "$SALLE"p$i 
ssh "$SALLE"p$i $COMMAND
done

